<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <title>好友统计</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <!-- Jquery -->
    <script src="{{url('js/jquery-2.1.4.min.js')}}"></script>
    <script src="{{url('vendor/bootstrap/js/bootstrap.min.js')}}" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="{{url('vendor/bootstrap/css/bootstrap.min.css')}}"/>
    <script type="text/javascript">

    </script>
</head>
<body>
<div>
    <h2>微信新增好友统计系统</h2>
</div>
{{--<div style="padding-top: 10px">--}}
    {{--<span><input type="button" style="color: #00A000" value="已付款列表"></span>--}}
    {{--<span><input type="button" style="color: #00A000" value="未确认列表"></span>--}}
{{--</div>--}}
<div style="margin-top: 30px">
    <table class="table table-bordered">
        <tr style="font-weight: bold">
            <td>手机编号</td>
            <td>实时新增</td>
            <td>今日新增</td>
            <td>最后统计时间</td>
            <td>状态</td>
            <td>操作</td>
        </tr>
        @foreach($phones as $phone)
            <tr>
                <td>{{$phone->phone_num}}</td>
                <td>{{$phone->num}}</td>
                <td>无</td>
                <td>{{$phone->updated_at}}</td>
                <td>在线</td>
                <td>查看详情</td>
            </tr>
        @endforeach
    </table>

</div>
<script language="JavaScript">
    function myrefresh()
    {
        window.location.reload();
    }
    setTimeout('myrefresh()',3000); //指定1秒刷新一次
</script>
</body>
</html>